package com.car.sale.service;

import com.car.sale.mapper.CarSaleMapper;
import com.car.sale.vo.Count;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NationService {
    @Autowired
    private CarSaleMapper carSaleMapper;
    public List<Count> getCarCount() {
        return carSaleMapper.getCountByProducer();
    }
}
